﻿using Kogel.Dapper.Extension.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IdentityService.Domain
{
    [Display(Rename = "roles")]
    public class Role
    {
        /// <summary>
        /// ID
        /// </summary>
        [Display(Rename = "id")]
        [Identity]
        public long Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Display(Rename = "name")]
        public required string Name { get; set; }
    }
}
